package com.inspur.edp.formserver.voextendinfo.server.core.config;


import com.inspur.edp.formserver.vmmanager.extendinfo.repository.GspVoExtendInfoRepository;
import com.inspur.edp.formserver.voextendinfo.server.api.GspVoExtendInfoRpcService;
import com.inspur.edp.formserver.voextendinfo.server.core.rpcserviceimp.GspVoExtendInfoRpcServiceImp;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@Configuration
public class GspVoExtendInfoRpcConfig {
  @Bean
  public GspVoExtendInfoRpcService getVoExtendInfoRpcService(
      GspVoExtendInfoRepository voExtendInfoRepository) {
    return new GspVoExtendInfoRpcServiceImp(voExtendInfoRepository);
  }

}
